home *** CD-ROM | disk | FTP | other *** search
/ SGI Freeware 2001 May / SGI Freeware 2001 May - Disc 1.iso / dist / fw_kdelibs.idb / usr / freeware / src / kdelibs / patches.z / patches
Text File  |  1999-01-26  |  8KB  |  280 lines

  1. *** ./kdecore/kkeyconf.h    Tue Jun 16 16:03:23 1998
  2. --- ../kdelibs-1.0/./kdecore/kkeyconf.h    Thu Aug 27 12:23:49 1998
  3. ***************
  4. *** 198,204 ****
  5.       QDict<KKeyEntry> aKeyDict;
  6.       QDict<KKeyWidgetEntry> aWidgetDict;
  7.   
  8. !     void KKeyConfig::internalDisconnectFunction( const QString& widgetName,
  9.         KKeyWidgetEntry *pWEntry, KKeyEntry *pEntry, KKeyConnectEntry *pCEntry );
  10.   
  11.    protected:
  12. --- 198,204 ----
  13.       QDict<KKeyEntry> aKeyDict;
  14.       QDict<KKeyWidgetEntry> aWidgetDict;
  15.   
  16. !     void /* KKeyConfig::*/internalDisconnectFunction( const QString& widgetName,
  17.         KKeyWidgetEntry *pWEntry, KKeyEntry *pEntry, KKeyConnectEntry *pCEntry );
  18.   
  19.    protected:
  20. *** ./kdecore/kapp.h    Fri Jul  3 01:42:43 1998
  21. --- ../kdelibs-1.0/./kdecore/kapp.h    Thu Aug 27 11:53:20 1998
  22. ***************
  23. *** 749,755 ****
  24.     virtual void kdisplaySetStyleAndFont();
  25.     virtual void readSettings();
  26.     void resizeAll();
  27. !   virtual void KApplication::applyGUIStyle(GUIStyle newstyle);
  28.   
  29.   public:
  30.   
  31. --- 749,755 ----
  32.     virtual void kdisplaySetStyleAndFont();
  33.     virtual void readSettings();
  34.     void resizeAll();
  35. !   virtual void /* KApplication::*/applyGUIStyle(GUIStyle newstyle);
  36.   
  37.   public:
  38.   
  39. *** ./kdecore/drag.h    Tue Jun 16 16:03:14 1998
  40. --- ../kdelibs-1.0/./kdecore/drag.h    Thu Aug 27 11:42:59 1998
  41. ***************
  42. *** 437,443 ****
  43.   /**
  44.   * Finds the root window belonging to the global point p.
  45.   */
  46. !   virtual Window KDNDWidget::findRootWindow( QPoint & p );
  47.     
  48.   /** 
  49.   * This function MUST be called by your implementation if you overload it.
  50. --- 437,443 ----
  51.   /**
  52.   * Finds the root window belonging to the global point p.
  53.   */
  54. !   virtual Window /*KDNDWidget::*/findRootWindow( QPoint & p );
  55.     
  56.   /** 
  57.   * This function MUST be called by your implementation if you overload it.
  58. *** ./kdecore/kconfigbase.cpp    Wed May 27 00:14:57 1998
  59. --- ../kdelibs-1.0/./kdecore/kconfigbase.cpp    Thu Aug 27 11:40:44 1998
  60. ***************
  61. *** 502,508 ****
  62.   }
  63.   
  64.   
  65. ! bool KConfigBase::readBoolEntry( const char* pKey, const bool bDefault = false ) const
  66.   {
  67.     QString aValue = readEntry( pKey );
  68.     if( aValue.isNull() )
  69. --- 502,508 ----
  70.   }
  71.   
  72.   
  73. ! bool KConfigBase::readBoolEntry( const char* pKey, const bool bDefault/* = false*/ ) const
  74.   {
  75.     QString aValue = readEntry( pKey );
  76.     if( aValue.isNull() )
  77. *** ./mediatool/connect.c    Wed Jun 17 09:01:23 1998
  78. --- ../kdelibs-1.0/./mediatool/connect.c    Thu Aug 27 12:50:18 1998
  79. ***************
  80. *** 326,332 ****
  81.     hdr = FindChunkData(helpptr,"IHDR");
  82.     unlink(hdr->ipcfname);
  83.   
  84. !   // Detach when last client goes doen
  85.     shmctl(mcon->talkid, IPC_RMID, &InfoBuf);
  86.   
  87.     if ( helpptr != NULL)
  88. --- 326,332 ----
  89.     hdr = FindChunkData(helpptr,"IHDR");
  90.     unlink(hdr->ipcfname);
  91.   
  92. !   /* Detach when last client goes doen */
  93.     shmctl(mcon->talkid, IPC_RMID, &InfoBuf);
  94.   
  95.     if ( helpptr != NULL)
  96. *** ./mkinstalldirs    Mon Apr 14 00:42:40 1997
  97. --- ../kdelibs-1.0/./mkinstalldirs    Mon Aug 31 19:24:22 1998
  98. ***************
  99. *** 5,10 ****
  100. --- 5,11 ----
  101.   # Last modified: 1994-03-25
  102.   # Public domain
  103.   
  104.   errstatus=0
  105.   
  106.   for file in ${1+"$@"} ; do 
  107. ***************
  108. *** 19,26 ****
  109.        esac
  110.   
  111.        if test ! -d "$pathcomp"; then
  112. !         echo "mkdir $pathcomp" 1>&2
  113. !         mkdir "$pathcomp" > /dev/null 2>&1 || lasterr=$?
  114.        fi
  115.   
  116.        if test ! -d "$pathcomp"; then
  117. --- 20,32 ----
  118.        esac
  119.   
  120.        if test ! -d "$pathcomp"; then
  121. !     if [ `uname -s | cut -c1-4` = "IRIX" ] ; then
  122. !        echo "install -d $pathcomp" 1>&2
  123. !        install -dir -m 755 $pathcom
  124. !         else 
  125. !            echo "mkdir $pathcomp" 1>&2
  126. !            mkdir "$pathcomp" > /dev/null 2>&1 || lasterr=$?
  127. !         fi
  128.        fi
  129.   
  130.        if test ! -d "$pathcomp"; then
  131. *** ./kdeui/ktoolbar.cpp    Thu Jun 18 23:41:42 1998
  132. --- ../kdelibs-1.0/./kdeui/ktoolbar.cpp    Thu Aug 27 12:34:49 1998
  133. ***************
  134. *** 838,844 ****
  135.                 
  136.             mgr->doMove(true, false, false);
  137.   
  138. !           for (KToolBarItem *b = ons.first(); b; b=ons.next())
  139.               b->setEnabled(true);
  140.           }
  141.           if (transparent)
  142. --- 838,844 ----
  143.                 
  144.             mgr->doMove(true, false, false);
  145.   
  146. !           for (/* KToolBarItem * */b = ons.first(); b; b=ons.next())
  147.               b->setEnabled(true);
  148.           }
  149.           if (transparent)
  150. ***************
  151. *** 1156,1162 ****
  152.   }  
  153.   /* A poem all in G-s! No, any widget */
  154.   
  155. ! int KToolBar::insertWidget(int _id, int _size, QWidget *_widget, int _index=-1)
  156.   {
  157.     KToolBarItem *item = new KToolBarItem(_widget, ITEM_FRAME, _id, false);
  158.     
  159. --- 1156,1162 ----
  160.   }  
  161.   /* A poem all in G-s! No, any widget */
  162.   
  163. ! int KToolBar::insertWidget(int _id, int _size, QWidget *_widget, int _index/*=-1*/)
  164.   {
  165.     KToolBarItem *item = new KToolBarItem(_widget, ITEM_FRAME, _id, false);
  166.     
  167. *** ./kdeui/ktmainwindow.cpp    Sat Jun 13 05:39:15 1998
  168. --- ../kdelibs-1.0/./kdeui/ktmainwindow.cpp    Thu Aug 27 12:04:45 1998
  169. ***************
  170. *** 860,865 ****
  171.     return kstatusbar != 0;
  172.   }
  173.   
  174. ! bool KTMainWindow::hasToolBar( int ID = 0){
  175.     return toolbars.at( ID ) != 0;
  176.   }
  177. --- 860,865 ----
  178.     return kstatusbar != 0;
  179.   }
  180.   
  181. ! bool KTMainWindow::hasToolBar( int ID /*= 0*/){
  182.     return toolbars.at( ID ) != 0;
  183.   }
  184. *** ./kfile/kfileinfocontents.cpp    Sun May 31 03:36:06 1998
  185. --- ../kdelibs-1.0/./kfile/kfileinfocontents.cpp    Thu Aug 27 12:48:33 1998
  186. ***************
  187. *** 396,402 ****
  188.       for (i = 0; i < sorted_length; i++)
  189.           nameArray[i] = sortedArray[i]->fileName();
  190.       
  191. !     qsort(nameArray, sorted_length, sizeof(const char*), stricmp);
  192.       
  193.       // insert into list. Keeps deep copies
  194.       for (i = 0; i < sorted_length; i++)
  195. --- 396,403 ----
  196.       for (i = 0; i < sorted_length; i++)
  197.           nameArray[i] = sortedArray[i]->fileName();
  198.       
  199. !     qsort(nameArray, sorted_length, sizeof(const char*), 
  200. !         (int (*) (const void *, const void *)) stricmp);
  201.       
  202.       // insert into list. Keeps deep copies
  203.       for (i = 0; i < sorted_length; i++)
  204. *** ./kfile/kpreview.cpp    Thu Apr 16 18:54:13 1998
  205. --- ../kdelibs-1.0/./kfile/kpreview.cpp    Thu Aug 27 12:49:11 1998
  206. ***************
  207. *** 181,187 ****
  208.       
  209.       for (int i=0; i<4; i++)
  210.           vertical->setRowStretch ( i, 0 );
  211. !     for (int i=4; i<10; i++)
  212.           vertical->setRowStretch ( i, 5 );
  213.       
  214.       QLabel *myNameLabel = new QLabel( i18n("Name:"), myBox, "_namelabel");
  215. --- 181,187 ----
  216.       
  217.       for (int i=0; i<4; i++)
  218.           vertical->setRowStretch ( i, 0 );
  219. !     for (i=4; i<10; i++)
  220.           vertical->setRowStretch ( i, 5 );
  221.       
  222.       QLabel *myNameLabel = new QLabel( i18n("Name:"), myBox, "_namelabel");
  223. *** ./kfile/kfiledialog.cpp    Tue Jul  7 19:00:12 1998
  224. --- ../kdelibs-1.0/./kfile/kfiledialog.cpp    Thu Aug 27 12:46:28 1998
  225. ***************
  226. *** 1302,1310 ****
  227.   }
  228.   
  229.   
  230. ! KFilePreviewDialog::KFilePreviewDialog(const char *dirName, const char *filter= 0,
  231. !                                        QWidget *parent= 0, const char *name= 0, 
  232. !                                        bool modal = false, bool acceptURLs = true)
  233.       : KFileBaseDialog(dirName, filter, parent, name, modal, acceptURLs) 
  234.   {
  235.       init();
  236. --- 1302,1314 ----
  237.   }
  238.   
  239.   
  240. ! KFilePreviewDialog::KFilePreviewDialog(
  241. !    const char *dirName, 
  242. !    const char *filter/* = 0*/,
  243. !    QWidget *parent/* = 0*/, 
  244. !    const char *name/* = 0*/, 
  245. !    bool modal /* = false */, 
  246. !    bool acceptURLs /* = true */)
  247.       : KFileBaseDialog(dirName, filter, parent, name, modal, acceptURLs) 
  248.   {
  249.       init();
  250. *** ./configure    Sat Jul 11 04:37:57 1998
  251. --- ../kdelibs-1.0/./configure    Thu Aug 27 12:00:27 1998
  252. ***************
  253. *** 1074,1079 ****
  254. --- 1074,1080 ----
  255.     echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
  256.   echo "configure:1076: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
  257.   
  258. + set +x
  259.   ac_ext=c
  260.   # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
  261.   ac_cpp='$CPP $CPPFLAGS'
  262. ***************
  263. *** 2226,2232 ****
  264.   #include "confdefs.h"
  265.   #include <alloca.h>
  266.   int main() {
  267. ! char *p = alloca(2 * sizeof(int));
  268.   ; return 0; }
  269.   EOF
  270.   if { (eval echo configure:2233: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
  271. --- 2227,2233 ----
  272.   #include "confdefs.h"
  273.   #include <alloca.h>
  274.   int main() {
  275. ! char *p = (char *) alloca(2 * sizeof(int));
  276.   ; return 0; }
  277.   EOF
  278.   if { (eval echo configure:2233: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
  279.